package com.yvon.maple.cloud.api.msg.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.util.List;
import java.util.Map;

/**
 * @author : Yvon
 * @since : 2021-12-30
 */
@Data
@Accessors(chain = true)
public class SendMsgVo {

    /**
     * 执行业务类型
     */
    @ApiModelProperty(value = "业务类型", required = true)
    @NotEmpty(message = "业务类型")
    private String type;


    /**
     * 变量
     */
    @ApiModelProperty(value = "业务模板里的变量(运营模板使用)")
    private List<String> variables;


    /**
     * 接收人
     */
    @ApiModelProperty(value = "接收人")
    private List<String> receivers;


    private Map<String, String> vars;


}
